package com.tz.colawallet.ui.module;


import com.tz.colawallet.ui.biz.ABiz;
import com.tz.colawallet.ui.biz.MainFirstFragBiz;
import com.tz.colawallet.ui.contract.AContract;
import com.tz.colawallet.ui.contract.MainFirstFragContract;

import dagger.Module;
import dagger.Provides;

/**
 * Created by xuweihua on 16/8/31.
 */
@Module
public class MainFirstFragModule {
    private MainFirstFragContract.View view;

    public MainFirstFragModule(MainFirstFragContract.View view) {
        this.view = view;
    }

    @Provides
    public MainFirstFragContract.View provideView() {
        return view;
    }

    @Provides
    public MainFirstFragBiz provideBiz() {
        return new MainFirstFragBiz();
    }
}